<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>标题</title>
</head>
<body>
<input value="提交" onclick="test_post()" type="button" />
</body>
<script src="/js/jquery-3.2.1.min.js"></script>
<script src="/js/vendor/common.js"></script>
<script>
    function test_post(){

        var taskList=new Object();
        taskList["123"]={"project_local_id":1,"survey_local_id":2,"task_local_id":3,"project_work_id":4};
        taskList["456"]={"project_local_id":1,"survey_local_id":2,"task_local_id":3,"project_work_id":4};
        feimaPost("/task/addProjectWork",{
            "project_id":123,
            "task_list":taskList
        },function(result){
            alert(JSON.stringify(result));
        })
    }

</script>
</html>